package com.lyd.springtestapi.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.persistence.Entity;
import javax.persistence.Id;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Accessors(chain = true)
@Entity
public class t_user {
    @Id
    private Integer id;
    private Integer role;
    private String username;
    private String email;
    private String gender;
    private String createtime;
    private Integer flag;
    private String activatecode;/*字段名注意大小写，大写可能报错*/

}
